<?php
/*
 * A Design by W3layouts
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
 *
 */
//    ini_set('display_errors', 0);
//    error_reporting(E_ERROR | E_WARNING | E_PARSE);

    $current_page_uri = $_SERVER['REQUEST_URI'];
    if(strstr("?",$current_page_uri)){
        $str=explode("?",$current_page_uri);
        $current_page_uri=$str[0];
        $current_page_uri=substr($current_page_uri,0,strlen($current_page_uri)-1);
    }


$part_url = explode("/", $current_page_uri);
$page_name = end($part_url);
$email_id = "dinhquyet.adv@gmail.com";

$str=explode(".",$page_name);

    if($str[0] == "index"){
        $nav=ucwords('home');
    }else $nav=ucwords($str[0]);

?>